Optimal. Leaf size=133 \[ -\frac {(x+8) \left (3 x^2+2\right )^{5/2}}{6 (2 x+3)^3}+\frac {5 (12 x+37) \left (3 x^2+2\right )^{3/2}}{12 (2 x+3)^2}-\frac {15 (37 x+119) \sqrt {3 x^2+2}}{8 (2 x+3)}+\frac {3657}{16} \sqrt {\frac {5}{7}} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )+\frac {1785}{16} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 133, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {813, 844, 215, 725, 206} \begin {gather*} -\frac {(x+8) \left (3 x^2+2\right )^{5/2}}{6 (2 x+3)^3}+\frac {5 (12 x+37) \left (3 x^2+2\right )^{3/2}}{12 (2 x+3)^2}-\frac {15 (37 x+119) \sqrt {3 x^2+2}}{8 (2 x+3)}+\frac {3657}{16} \sqrt {\frac {5}{7}} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )+\frac {1785}{16} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 215
Rule 725
Rule 813
Rule 844
Rubi steps
\begin {align*} \int \frac {(5-x) \left (2+3 x^2\right )^{5/2}}{(3+2 x)^4} \, dx &=-\frac {(8+x) \left (2+3 x^2\right )^{5/2}}{6 (3+2 x)^3}-\frac {5}{72} \int \frac {(24-288 x) \left (2+3 x^2\right )^{3/2}}{(3+2 x)^3} \, dx\\ &=\frac {5 (37+12 x) \left (2+3 x^2\right )^{3/2}}{12 (3+2 x)^2}-\frac {(8+x) \left (2+3 x^2\right )^{5/2}}{6 (3+2 x)^3}+\frac {5}{768} \int \frac {(4608-21312 x) \sqrt {2+3 x^2}}{(3+2 x)^2} \, dx\\ &=-\frac {15 (119+37 x) \sqrt {2+3 x^2}}{8 (3+2 x)}+\frac {5 (37+12 x) \left (2+3 x^2\right )^{3/2}}{12 (3+2 x)^2}-\frac {(8+x) \left (2+3 x^2\right )^{5/2}}{6 (3+2 x)^3}-\frac {5 \int \frac {170496-822528 x}{(3+2 x) \sqrt {2+3 x^2}} \, dx}{6144}\\ &=-\frac {15 (119+37 x) \sqrt {2+3 x^2}}{8 (3+2 x)}+\frac {5 (37+12 x) \left (2+3 x^2\right )^{3/2}}{12 (3+2 x)^2}-\frac {(8+x) \left (2+3 x^2\right )^{5/2}}{6 (3+2 x)^3}+\frac {5355}{16} \int \frac {1}{\sqrt {2+3 x^2}} \, dx-\frac {18285}{16} \int \frac {1}{(3+2 x) \sqrt {2+3 x^2}} \, dx\\ &=-\frac {15 (119+37 x) \sqrt {2+3 x^2}}{8 (3+2 x)}+\frac {5 (37+12 x) \left (2+3 x^2\right )^{3/2}}{12 (3+2 x)^2}-\frac {(8+x) \left (2+3 x^2\right )^{5/2}}{6 (3+2 x)^3}+\frac {1785}{16} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )+\frac {18285}{16} \operatorname {Subst}\left (\int \frac {1}{35-x^2} \, dx,x,\frac {4-9 x}{\sqrt {2+3 x^2}}\right )\\ &=-\frac {15 (119+37 x) \sqrt {2+3 x^2}}{8 (3+2 x)}+\frac {5 (37+12 x) \left (2+3 x^2\right )^{3/2}}{12 (3+2 x)^2}-\frac {(8+x) \left (2+3 x^2\right )^{5/2}}{6 (3+2 x)^3}+\frac {1785}{16} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )+\frac {3657}{16} \sqrt {\frac {5}{7}} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {2+3 x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 97, normalized size = 0.73 \begin {gather*} \frac {1}{336} \left (10971 \sqrt {35} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )-\frac {14 \sqrt {3 x^2+2} \left (36 x^5-432 x^4+3408 x^3+37974 x^2+77061 x+46103\right )}{(2 x+3)^3}+37485 \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 1.05, size = 128, normalized size = 0.96 \begin {gather*} -\frac {1785}{16} \sqrt {3} \log \left (\sqrt {3 x^2+2}-\sqrt {3} x\right )-\frac {3657}{8} \sqrt {\frac {5}{7}} \tanh ^{-1}\left (-\frac {2 \sqrt {3 x^2+2}}{\sqrt {35}}+2 \sqrt {\frac {3}{35}} x+3 \sqrt {\frac {3}{35}}\right )+\frac {\sqrt {3 x^2+2} \left (-36 x^5+432 x^4-3408 x^3-37974 x^2-77061 x-46103\right )}{24 (2 x+3)^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 167, normalized size = 1.26 \begin {gather*} \frac {10971 \, \sqrt {7} \sqrt {5} {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )} \log \left (\frac {\sqrt {7} \sqrt {5} \sqrt {3 \, x^{2} + 2} {\left (9 \, x - 4\right )} - 93 \, x^{2} + 36 \, x - 43}{4 \, x^{2} + 12 \, x + 9}\right ) + 37485 \, \sqrt {3} {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )} \log \left (-\sqrt {3} \sqrt {3 \, x^{2} + 2} x - 3 \, x^{2} - 1\right ) - 28 \, {\left (36 \, x^{5} - 432 \, x^{4} + 3408 \, x^{3} + 37974 \, x^{2} + 77061 \, x + 46103\right )} \sqrt {3 \, x^{2} + 2}}{672 \, {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.37, size = 275, normalized size = 2.07 \begin {gather*} -\frac {1}{32} \, {\left (3 \, {\left (2 \, x - 33\right )} x + 973\right )} \sqrt {3 \, x^{2} + 2} - \frac {1785}{16} \, \sqrt {3} \log \left (-\sqrt {3} x + \sqrt {3 \, x^{2} + 2}\right ) - \frac {3657}{112} \, \sqrt {35} \log \left (-\frac {{\left | -2 \, \sqrt {3} x - \sqrt {35} - 3 \, \sqrt {3} + 2 \, \sqrt {3 \, x^{2} + 2} \right |}}{2 \, \sqrt {3} x - \sqrt {35} + 3 \, \sqrt {3} - 2 \, \sqrt {3 \, x^{2} + 2}}\right ) - \frac {\sqrt {3} {\left (40667 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{5} + 589140 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{4} + 467730 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{3} - 1939920 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{2} + 585700 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )} - 166304\right )}}{128 \, {\left ({\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{2} + 3 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )} - 2\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 206, normalized size = 1.55 \begin {gather*} \frac {591 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}} x}{490}+\frac {1143 \sqrt {-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}}\, x}{56}+\frac {8457 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {5}{2}} x}{85750}+\frac {1785 \sqrt {3}\, \arcsinh \left (\frac {\sqrt {6}\, x}{2}\right )}{16}+\frac {3657 \sqrt {35}\, \arctanh \left (\frac {2 \left (-9 x +4\right ) \sqrt {35}}{35 \sqrt {-36 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}\right )}{112}+\frac {37 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{4900 \left (x +\frac {3}{2}\right )^{2}}-\frac {2819 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{85750 \left (x +\frac {3}{2}\right )}-\frac {7314 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {5}{2}}}{42875}-\frac {1219 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{490}-\frac {3657 \sqrt {-36 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}{112}-\frac {13 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{840 \left (x +\frac {3}{2}\right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.44, size = 173, normalized size = 1.30 \begin {gather*} -\frac {111}{4900} \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}} - \frac {13 \, {\left (3 \, x^{2} + 2\right )}^{\frac {7}{2}}}{105 \, {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} + \frac {37 \, {\left (3 \, x^{2} + 2\right )}^{\frac {7}{2}}}{1225 \, {\left (4 \, x^{2} + 12 \, x + 9\right )}} + \frac {591}{490} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} x - \frac {1219}{490} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} - \frac {2819 \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}}}{4900 \, {\left (2 \, x + 3\right )}} + \frac {1143}{56} \, \sqrt {3 \, x^{2} + 2} x + \frac {1785}{16} \, \sqrt {3} \operatorname {arsinh}\left (\frac {1}{2} \, \sqrt {6} x\right ) - \frac {3657}{112} \, \sqrt {35} \operatorname {arsinh}\left (\frac {3 \, \sqrt {6} x}{2 \, {\left | 2 \, x + 3 \right |}} - \frac {2 \, \sqrt {6}}{3 \, {\left | 2 \, x + 3 \right |}}\right ) - \frac {3657}{56} \, \sqrt {3 \, x^{2} + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.12, size = 161, normalized size = 1.21 \begin {gather*} \frac {1785\,\sqrt {3}\,\mathrm {asinh}\left (\frac {\sqrt {2}\,\sqrt {3}\,x}{2}\right )}{16}-\frac {973\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{32}-\frac {3657\,\sqrt {35}\,\ln \left (x+\frac {3}{2}\right )}{112}+\frac {3657\,\sqrt {35}\,\ln \left (x-\frac {\sqrt {3}\,\sqrt {35}\,\sqrt {x^2+\frac {2}{3}}}{9}-\frac {4}{9}\right )}{112}-\frac {3\,\sqrt {3}\,x^2\,\sqrt {x^2+\frac {2}{3}}}{16}-\frac {5197\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{64\,\left (x+\frac {3}{2}\right )}+\frac {9485\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{256\,\left (x^2+3\,x+\frac {9}{4}\right )}+\frac {99\,\sqrt {3}\,x\,\sqrt {x^2+\frac {2}{3}}}{32}-\frac {15925\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{1536\,\left (x^3+\frac {9\,x^2}{2}+\frac {27\,x}{4}+\frac {27}{8}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________